<%@ page import="org.example.atry.util.Users" %><%--
  Created by IntelliJ IDEA.
  User: wwzd1
  Date: 2024/12/25
  Time: 13:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        div{
            margin:50px auto;
            width: 550px;
        }
    </style>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head>
<body>
<%
    Users users= (Users) request.getAttribute("ca");
%>
<div>
    <table class="table table-hover">
        <thead>
        <td>序号</td>
        <td>品种名称</td>
        <td>详细内容链接</td>
        </thead>
        <%if(users!=null){ %>
        <tr>
            <!--"="代替了response.getwriter().println()，输出到页面，不用加分号-->
            <td class="info"><%= users.getId()%></td>
            <td class="warning"><%= users.getName()%></td>
            <td class="active"><a href="<%=users.getCharst()%>"><%=users.getCharst()%></a></td>
        </tr>
        <% }%>
        <td colspan="3"align="center"class="breadcrumb"><a href="serch.html">重新查询</a></td>
    </table>
</div>
<script>
    $("thead").css("background","lightsteelblue")
</script>
</body>
</html>
